package com.jack.framework.common.utils;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * Created by zhang_j on 2020/7/16
 */
public class HashUtils {

    public static String getHash(String data) {
        String md5Hex = DigestUtils.md5Hex(data);
        String sha1Hex = DigestUtils.sha1Hex(data);
        return md5Hex + sha1Hex;
    }
}
